package com.foreverwin.mes.lims.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 
 * </p>
 *
 * @author Mark
 * @since 2020-03-08
 */
@TableName("Z_BAD_ENTRY_OF_WORKSHOP_MATE")
public class BadEntryOfWorkshopMate extends Model<BadEntryOfWorkshopMate> {

    private static final long serialVersionUID = 1L;

   @TableId(value = "HANDLE", type = IdType.INPUT)
   private String handle;
   @TableField("SITE")
   private String site;
   @TableField("WAREHOUSE")
   private String warehouse;
   @TableField("INVENTORY_BATCH")
   private String inventoryBatch;
   @TableField("INVENTORY_QTY")
   private Long inventoryQty;
   @TableField("ITEM_NO")
   private String itemNo;
   @TableField("ITEM_DESC")
   private String itemDesc;
   @TableField("DEFECT_CODE")
   private String defectCode;
   @TableField("DEFECT_DESC")
   private String defectDesc;
   @TableField("NUM_OF_DISC")
   private Long numOfDisc;
   @TableField("DEFECT_NOTES")
   private String defectNotes;
   @TableField("DETERMINE_RESULT")
   private String determineResult;
   @TableField("SCRAP_QTY")
   private Long scrapQty;
   @TableField("DETERMINE_REMARK")
   private String determineRemark;
   @TableField("CREATOR")
   private String creator;
   @TableField("UPDATER")
   private String updater;
   @TableField("CREATED_DATE_TIME")
   private Date createdDateTime;
   @TableField("MODIFIED_DATE_TIME")
   private Date modifiedDateTime;


   public String getHandle() {
      return handle;
   }

   public void setHandle(String handle) {
      this.handle = handle;
   }

   public String getSite() {
      return site;
   }

   public void setSite(String site) {
      this.site = site;
   }

   public String getWarehouse() {
      return warehouse;
   }

   public void setWarehouse(String warehouse) {
      this.warehouse = warehouse;
   }

   public String getInventoryBatch() {
      return inventoryBatch;
   }

   public void setInventoryBatch(String inventoryBatch) {
      this.inventoryBatch = inventoryBatch;
   }

   public Long getInventoryQty() {
      return inventoryQty;
   }

   public void setInventoryQty(Long inventoryQty) {
      this.inventoryQty = inventoryQty;
   }

   public String getItemNo() {
      return itemNo;
   }

   public void setItemNo(String itemNo) {
      this.itemNo = itemNo;
   }

   public String getItemDesc() {
      return itemDesc;
   }

   public void setItemDesc(String itemDesc) {
      this.itemDesc = itemDesc;
   }

   public String getDefectCode() {
      return defectCode;
   }

   public void setDefectCode(String defectCode) {
      this.defectCode = defectCode;
   }

   public String getDefectDesc() {
      return defectDesc;
   }

   public void setDefectDesc(String defectDesc) {
      this.defectDesc = defectDesc;
   }

   public Long getNumOfDisc() {
      return numOfDisc;
   }

   public void setNumOfDisc(Long numOfDisc) {
      this.numOfDisc = numOfDisc;
   }

   public String getDefectNotes() {
      return defectNotes;
   }

   public void setDefectNotes(String defectNotes) {
      this.defectNotes = defectNotes;
   }

   public String getDetermineResult() {
      return determineResult;
   }

   public void setDetermineResult(String determineResult) {
      this.determineResult = determineResult;
   }

   public Long getScrapQty() {
      return scrapQty;
   }

   public void setScrapQty(Long scrapQty) {
      this.scrapQty = scrapQty;
   }

   public String getDetermineRemark() {
      return determineRemark;
   }

   public void setDetermineRemark(String determineRemark) {
      this.determineRemark = determineRemark;
   }

   public String getCreator() {
      return creator;
   }

   public void setCreator(String creator) {
      this.creator = creator;
   }

   public String getUpdater() {
      return updater;
   }

   public void setUpdater(String updater) {
      this.updater = updater;
   }

   public Date getCreatedDateTime() {
      return createdDateTime;
   }

   public void setCreatedDateTime(Date createdDateTime) {
      this.createdDateTime = createdDateTime;
   }

   public Date getModifiedDateTime() {
      return modifiedDateTime;
   }

   public void setModifiedDateTime(Date modifiedDateTime) {
      this.modifiedDateTime = modifiedDateTime;
   }

   public static final String HANDLE = "HANDLE";

   public static final String SITE = "SITE";

   public static final String WAREHOUSE = "WAREHOUSE";

   public static final String INVENTORY_BATCH = "INVENTORY_BATCH";

   public static final String INVENTORY_QTY = "INVENTORY_QTY";

   public static final String ITEM_NO = "ITEM_NO";

   public static final String ITEM_DESC = "ITEM_DESC";

   public static final String DEFECT_CODE = "DEFECT_CODE";

   public static final String DEFECT_DESC = "DEFECT_DESC";

   public static final String NUM_OF_DISC = "NUM_OF_DISC";

   public static final String DEFECT_NOTES = "DEFECT_NOTES";

   public static final String DETERMINE_RESULT = "DETERMINE_RESULT";

   public static final String SCRAP_QTY = "SCRAP_QTY";

   public static final String DETERMINE_REMARK = "DETERMINE_REMARK";

   public static final String CREATOR = "CREATOR";

   public static final String UPDATER = "UPDATER";

   public static final String CREATED_DATE_TIME = "CREATED_DATE_TIME";

   public static final String MODIFIED_DATE_TIME = "MODIFIED_DATE_TIME";

   @Override
   protected Serializable pkVal() {
      return this.handle;
   }

   @Override
   public String toString() {
      return "BadEntryOfWorkshopMate{" +
         "handle = " + handle +
         ", site = " + site +
         ", warehouse = " + warehouse +
         ", inventoryBatch = " + inventoryBatch +
         ", inventoryQty = " + inventoryQty +
         ", itemNo = " + itemNo +
         ", itemDesc = " + itemDesc +
         ", defectCode = " + defectCode +
         ", defectDesc = " + defectDesc +
         ", numOfDisc = " + numOfDisc +
         ", defectNotes = " + defectNotes +
         ", determineResult = " + determineResult +
         ", scrapQty = " + scrapQty +
         ", determineRemark = " + determineRemark +
         ", creator = " + creator +
         ", updater = " + updater +
         ", createdDateTime = " + createdDateTime +
         ", modifiedDateTime = " + modifiedDateTime +
         "}";
   }
}